module.exports = {
  configureWebpack: {
    resolve: {
      alias: {
        assets: "@/assets",
        components: "@/components",
        network: "@/network",
        views: "@/views",
      },
    },
  },
  publicPath: "./",
  // 关闭eslint检查
  lintOnSave: false,
  devServer: {
    overlay: {
      warnings: false, //不显示警告
      errors: false, //不显示错误
    }
  },
  // devServer: {
  //   proxy: {
  //     '/api': {
  //       target: 'http://www.tp.com',
  //       changeOrigin: true,
  //       pathRewrite: {
  //         '^/api': '/index.php/api/'
  //       }
  //     }
  //   }
  // }
};
